<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>WanDa</title>
<script type="text/javascript" src="/skin/WDYYhtml/js/jquery.js"></script>
<script type="text/javascript" src="/skin/WDYYhtml/js/common.js"></script>
<link rel="stylesheet" href="/skin/WDYYhtml/css/style.css" type="text/css" media="all" />
<link rel="stylesheet" href="/user/skin/js/validationEngine.jquery.css" type="text/css" />
<script type="text/javascript" src="/user/skin/js/jquery.validationEngine.js"></script>
<script type="text/javascript" src="/user/skin/js/jquery.validationEngine-cn.js"></script>
<script>
jQuery(function(){
	jQuery("#regform").validationEngine();
});

function checkForm(){
	jQuery("#regform").submit();
}

function setAgree(){
	if(jQuery("#agree").is(':checked')){
		jQuery("#submit").attr("disabled","");
	}else{
		jQuery("#submit").attr("disabled","disabled");
	}
}

function reloadImg(id) {
   var obj = document.getElementById(id);
   var src = obj.src;
   var pos = src.indexOf('?');
   if (pos >= 0) {
      src = src.substr(0, pos);
   }
   var date = new Date();
   obj.src = src + '?v=' + date.getTime();
   return false;
}

function setIsfee(num){
	jQuery("#isfee").val(num);
}
</script>
</head>

<body>
<div class="header-wrapper">
	#parse('/inc/header.htm')
</div>

<!---->
<div id="Wrapper">
	<div class="wrapper">
		<!---->
		<div class="reg2">
			<div class="reg-step">
				<ul><li><span class="active">基本信息</span></li>
					<li><span>邮箱激活</span></li>
					<li><span>完成注册</span></li>
				</ul>
			</div>
				
			<h2>加入万达演艺，离自己的梦想更近一步！</h2>
			<p class="p0">在这里，有优质的环境，闪耀的新人，行业的牛人！</p>
			<form id="regform" name="regform" action="/user.do?parameter=saveReg" method="post">
			<input type="hidden" name="step" value="1" />
			<div class="rform">
				<h3>请认真填写您的专属资料：</h3>
				<ul class="u0">
					<li><strong>用户名：</strong><input id="acount" type="text" name="acount" class="validate[required,length[0,20]]" value="$!tmpUser.acount" /></li>
					<li><strong>密码：</strong><input id="password" type="password" name="password" class="validate[required,length[0,20]]" /></li>
					<li><strong>确认密码：</strong><input id="password1" type="password" name="password1" class="validate[required,length[0,20]]" /></li>
					<li><strong>Email:</strong><input id="email" type="text" name="email" class="validate[required,custom[email]]" value="$!tmpUser.email" /></li>
				</ul>
				
				<ul><li><strong>您所在的地址：</strong><input id="homearea" class="t2 validate[required,length[0,20]]" type="text" name="homearea" value="$!tmpUser.homearea" /></li>
					<li><strong>您所从事的职业：</strong><input id="professional" type="text" name="professional" class="validate[required,length[0,20]]" value="$!tmpUser.professional"/></li>
					<li><strong>请输入验证码：</strong><input class="t5" name="vcode" type="text" id="c_vcode" /><img id="vcode" src="/valicode" alt="验证码看不清楚？请点击刷新验证码" style="cursor:pointer;" onClick="return reloadImg('vcode');" /></li>
				</ul>
				
				<p class="p1">
					<label><input id="agree" type="checkbox" name="agree" onclick="setAgree()" />同意</label><a href="#">注册协议</a>
				</p>
			</div>
			
			<div class="rbtn">
				<input id="submit" type="submit" value="提交注册" onclick="return checkForm()" disabled="disabled"/>
				<!--button name="">提交注册</button-->
			</div>
			</form>
		</div>
	</div>
	<div class="footer">
		#parse('/inc/copyright.htm')
		<p></p>
		<p></p>	
	</div>
</div>

<!---->
<div class="footer-wrapper">
	<div class="footer">
		#parse('/inc/nav.htm')
			
	</div>
</div>

<!---->
<div id="NavLeft"><a href="javascript:void(0)">Show</a></div>
<div id="NavRight"><a href="javascript:void(0)">Star</a></div>
</body>
</html>
#if($msg)
<script>
alert('$!msg');
</script>
#end